<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>jQuery Tooltip Plugin Demo</title>

<link rel="stylesheet" href="../../jquery.tooltip.css" />
<link rel="stylesheet" href="../screen.css" />
<link rel="stylesheet" href="ui.core.css" />
<link rel="stylesheet" href="ui.theme.css" />
<link rel="stylesheet" href="fg-tooltip.css" />
<script src="../../lib/jquery.js" type="text/javascript"></script>
<script src="../../lib/jquery.bgiframe.js" type="text/javascript"></script>
<script src="../../lib/jquery.dimensions.js" type="text/javascript"></script>
<script src="../../jquery.tooltip.js" type="text/javascript"></script>

<script src="chili-1.7.pack.js" type="text/javascript"></script>

<script type="text/javascript">
$(function() {
	$.extend($.tooltip.defaults, {
		bodyHandler: function() {
			return '<div class="fg-tooltip fg-tooltip-' + $(this).attr("class") + ' ui-widget ui-state-error ui-corner-all">' +
				this.tooltipText + 
		        '<div class="fg-tooltip-pointer-down ui-state-error">'
		         '<div class="fg-tooltip-pointer-down-inner"></div>'
		        '</div>'
		    '</div>'
		},
		showURL: false,
		delay: 0,
		fade: true,
		track: true,
		top: -95
	});
	$("a.left").tooltip({
		left: -10
	});
	$("a.center").tooltip({
		left: -105
	});
	$("a.right").tooltip({
		left: -180
	});
});
</script>

<style type="text/css">
	#tooltip {
		background: none;
		border: none;
		padding: 0;
	}
</style>

</head>
<body>
	<br/><br/><br/><br/><br/><br/><br/><br/>
	<div id="demoA">
	    <p class="demoText">
	        Here's a paragraph with a tooltip on top of it. <a href="#" class="center" title="Here's a sample tooltip A. The pointer requires no images!">Centered Tooltip!</a>
	        The pointer portion uses no images - only CSS - and is entirely themable by the jQuery UI CSS Framework!
	    </p>
	</div>
	<div id="demoB">
	    <p class="demoText">
	        Here's a paragraph with a tooltip on top of it. <a href="#" class="left" title="Here's a sample tooltip B. The pointer requires no images!">Left Tooltip!</a>
	        The pointer portion uses no images - only CSS - and is entirely themable by the jQuery UI CSS Framework!
	    </p>
	</div>
	<div id="demoC">
	    <p class="demoText">
	        Here's a paragraph with a tooltip on top of it. <a href="#" class="right" title="Here's a sample tooltip C. The pointer requires no images!">Right Tooltip!</a>
	        The pointer portion uses no images - only CSS - and is entirely themable by the jQuery UI CSS Framework!
	    </p>
	</div>
</body>
</html>